package com.duanruan.bmgl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("Employee")
public class Employee {

  //员工号
  @TableId("id")
  private String id;

  //员工姓名
  @TableField("name")
  private String name;

  //岗位
  @TableField("stationName")
  private String stationName;

  //入职日期
  @TableField("employDate")
  private java.sql.Date employDate;

  //参加工作日期
  @TableField("workDate")
  private java.sql.Date workDate;

  //用工形式
  @TableField("form")
  private String form;

  //人员来源
  @TableField("source")
  private String source;

  //最高学历
  @TableField("eduBack")
  private String eduBack;

  //部门id
  @TableField("departmentId")
  private String departmentId;

}
